#ifndef WIDGET3_H
#define WIDGET3_H

#include <QWidget>
#include <QString>
#include "project.h"

namespace Ui {
class Widget3;
}

class Widget3 : public QWidget
{
    Q_OBJECT

public:
    explicit Widget3(FlightBookingSystem& system,QWidget *parent = nullptr);
    ~Widget3();

    FlightBookingSystem& bookingSystem;

    string flightNumber;

    string passengerName;

signals:
    void back();

private slots:
    void on_pushButton_determine_clicked();

    void on_pushButton_cancel_clicked();

    void on_lineEdit1_textChanged(const QString &arg1);

    void on_lineEdit2_textChanged(const QString &arg1);

private:
    Ui::Widget3 *ui;
};

#endif // WIDGET3_H
